package com.aliyun.service;

import com.aliyun.entity.Seckill;

import java.util.List;

/**
 * Created by wb266042 on 2017/6/1.
 */
public interface SeckillService {

    /**
     * 根据ID获取商品
     *
     * @param seckillId
     * @return
     */
    Seckill getById(Long seckillId);

    /**
     * 获取商品列表
     *
     * @return
     */
    List<Seckill> getSeckillList();

}
